<%@ page language="java"
	import="com.sql.*,com.database.*"
	pageEncoding="gb2312"%>
<%	 
      String BranchID="";
	  String OldBranchID = (String)session.getAttribute("oldBranchID");
	  BranchID=OldBranchID;
  	if(session.getAttribute("branchid")!=null){
  		BranchID=(String)session.getAttribute("branchid");
  	  }
  	 String lptarea=request.getParameter("lptarea");
  	 lptarea=new CqmsBranch().getZhongWen(lptarea);
	DataBase db2=new DataBase();
	String sql="update dbo.CQMS_Branch_Info set BranchLpt='"+lptarea+"' where BranchID='"+BranchID+"'";
	db2.executeUpdate(sql);
	db2.closeStmt();
	db2.closeConn();
		
	response.sendRedirect("TicketSet.jsp");


%>
